package com.example.demo.modules.model.enums;

import lombok.Getter;

/**
 * 订单状态
 */
@Getter
public enum OrderStatusEnum {

    WAIT_PAYMENT(1,"待支付"),
    WAIT_DELIVER(2,"待发货"),
    WAIT_RECEIVE(3,"待收货"),
    FINISH(4,"已完成");

    private Integer code;
    private String msg;

    OrderStatusEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}